import useClipboard from 'vue-clipboard3';
export const getValue = (obj: Record<string, any>, key: string) => obj[key] || '';

export const copyClipboard = async (text: string) => {
    const {toClipboard} = useClipboard();
    try {
        await toClipboard(text);
    }
    catch (e) {};
};